package com.sx.art2.service;

import java.util.List;

import com.sx.art2.beans.Category;

public interface CategoryService {
	
	public void insert(Category category);
	public void delete(int categoryId);
	public void update(Category category);
	public Category selectById(int categoryId);
	public List<Category> list();
	public int selectByName(String categoryName);

}
